package com.ast;

public class AddExpNode {
    MulExpNode mulExp;
    AddExpNode addExp;
    String op;
    public AddExpNode(MulExpNode mulExp) {
        this.mulExp = mulExp;
    }
    public AddExpNode(AddExpNode addExp, String op, MulExpNode mulExp) {
        this.addExp = addExp;
        this.op = op;
        this.mulExp = mulExp;
    }

    public MulExpNode getMulExp() {
        return mulExp;
    }

    public AddExpNode getAddExp() {
        return addExp;
    }

    public String getOp() {
        return op;
    }
}
